<!--右边-->
<div class="right">
<!--菜单-->
	<div class="cd2">
	<a href="/nvzhuang">女装</a> &gt;
	<% if !@category_name.nil?%>
		<h4><strong>"<%=@category_name.t_cat_name%>"&nbsp;</strong></h4><span>(<%=@items.total_entries%>)</span>
	<% elsif !params[:word].blank?%>
		<h4><strong>"<%=params[:word]%>"&nbsp;</strong></h4><span>(<%=@items.total_entries%>)</span>
	<%end%>
	</div><!--cd1 end-->
      
      <!--排序方式-->
     <div class="px">
          <div class="pl">
               <span>关键字:<%= text_field_tag :keyword %></span>
			   <span>价格区间:<%= text_field_tag :price_from,'',:size=>5%> - <%= text_field_tag :price_to,'',:size=>5%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%=submit_tag '确定',:disabled=> false %></span>
          </div><!--pl end-->
          <div class="py">
		       <ul>
                 <li style="margin-top:10px;">翻页：</li>
                 <li style="margin-top:8px;"><img onclick="goto(<%=@items.current_page.to_i-1%>,,<%=@items.total_pages%>)" src="/images/fy1.gif" title="下一页"/></li>
                 <li style="margin-top:8px;"><img onclick="goto(<%=@items.current_page.to_i+1%>,<%=@items.total_pages%>)" src="/images/fy2.gif" tile="上一页"/></li>
               </ul>
          </div>
	 </div><!--px end-->
      
      <!--产品显示-->
      <div class="xs1">
          <ul>
        	<% @items.each do |it|%>
           		<li>
	              <div class='imgs'><%= link_to "<img alt='#{it.title}' src='#{it.pic_url}_250x250.jpg'/>",item_path(:id=>"#{it.cat1_id.to_s}_#{it.id.to_s}"),:title=>it.title,:target=>'_blank'%>
				  </div>
				  <div style="margin-top:8px;text-align:left">￥<font class="jg"><%= it.price%></font></div>
	              <div class="show_item">
					<%= link_to it.title,item_path(:id=>"#{it.cat1_id.to_s}_#{it.id.to_s}"),:title=>it.title,:target=>'_blank'%></div>
					<p>所在地区: <%=it.location%></p>
				</li>
			<% end%>
          </ul>
      </div><!--xs end-->
    <!--翻页-->
      <div class="digg_pagination">
	  	<%= will_paginate @items, :previous_label => '上一页', :next_label => '下一页', :container => false %>
		<% if @items.total_pages>1%><span><%= text_field_tag :page,nil,:size=>2,:maxlength=>3%><%= submit_tag "Go", :id => "submit", :name => "submit", :disabled => false %></span>
		<%end%>
	  </div>
	<!--fy end-->   
</div><!--right end-->
